<taglib name='html' />
<include file="$includeFile.public_header" /><!--或是"__ADMIN__/header"-->

<!--  右边内容   -->
<div class="list_tit">
    <span class="tit_left">您当前的位置：首页 > 广告位置管理 > 广告位置<php>if($_GET['id']){echo '编辑';}else{echo '添加';}</php></span>
    <a href="__URL__/index/" class="tit_right">+管理广告位置</a>
</div>
<div class="page_list">
    <table cellpadding="0" cellspacing="0" border="0" width="100%" class="list_table">
        <tr><th align="left" style="text-indent:5px;">广告位置<present name="$Think.get.id">编辑<else/>添加</present></th></tr>
    </table>
    <form action="__URL__/<php>if($_GET['id']){echo 'update';}else{echo 'insert';}</php>" method="post" enctype="multipart/form-data">
        <input type="hidden" name="id" value="{$Think.get.id}" />
        <table cellpadding="0" border="0" width="100%" class="add_table">
            <tr><th width="100">广告位名称:</th>
                <td><input type="text" name="name" value="{$data.name}" size="43" maxlength="64" class="page_txt" /></td>
            </tr>
            <tr><th width="100">光告位宽度:</th>
                <td><input type="text" name="width" value="{$data.width}" size="33" maxlength="4" class="page_txt" /><label>PX</label></td>
            </tr>
            </tr>
            <tr><th width="100">广告位高度:</th>
                <td><input type="text" name="height" size="33" maxlength="4" value="{$data.height}" class="page_txt" /><label>PX</label><label class="lab"></label></td></tr>
            <tr><th width="100">广告位描述:</th>
                <td align="left"><textarea cols="35" class="page_txt" rows="3">{$data.remark}</textarea></td></tr>
            <tr height="60">
                <th>&nbsp;</th>
                <td valign="middle"><input type="submit" name="edit_btn" class="btn" value="提 交" /></td>
            </tr>
        </table>
    </form>
    <div class="clr"></div>
</div>

<include file="$includeFile.public_footer" />